import request from "@/utils/request.js";

// 获取商品列表
export const getShopList = (data) => {
	return request.get('product_sell/list', {
		page: 1,
		limit: 10,
		...data,
	}, {
		noAuth: true
	})
}

// 获取商品详情

export const getShop = ({
	mid,
	productId,
	slotNo
}) => {
	return request.get('product_sell/info', {
		mid,
		productId,
		slotNo
	}, {
		noAuth: true
	})
}

// 获取机器消毒记录

export const getDisinfect = () => {
	return request.get('machineDisinfectionRecorde/get', {}, {
		noAuth: true
	})
}